package com.hp.ssmp.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hp.ssmp.entity.TGoods;
import com.hp.ssmp.entity.dto.TOrderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsMapper extends BaseMapper<TGoods> {
    public Page<TGoods> getTGoodsByPage(Page<TGoods> page,
                                             @Param(Constants.WRAPPER) QueryWrapper<TGoods> wrapper);
}
